:root{
        --mantap:#D6A309;
  --primary:#20883A;
}

*{
    border: none;
    text-decoration:none;
    box-sizing: border-box ;
}
body{
    min-height: 100vh;
    padding:0;
    margin:0;
    
}
nav {
      background-color: #1e293b;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      position: fixed;              /* ✅ membuat navbar tetap di atas */
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;               /* ✅ pastikan di atas elemen lain */
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    /* Tambahkan ruang di atas konten agar tidak tertutup navbar */
    main {
      padding-top: 70px;
    }
      .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
    }

    .logo span {
      font-size: 20px;
      font-weight: bold;
    }

    .nav-links {
      display: flex;
      gap: 20px;
      align-items: center;
    }

    .nav-links a {
      text-decoration: none;
      color: white;
      font-weight: 500;
      transition: color 0.3s;
    }

    .nav-links a:hover {
      color: #38bdf8;
    }
     nav {
      background-color:var(--);
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      position: fixed;              /* ✅ membuat navbar tetap di atas */
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;               /* ✅ pastikan di atas elemen lain */
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    nav{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index: 9999;
    color:white;
    background-color:var(--primary) ;
}
nav a{
    color:WHITE;
}
.navbar .dropdown-menu li a{
    text-decoration: none;
    color:black;
    transition:all .5s ease;
    font-size:15px;
}
.navbar .dropdown-menu li a:hover{
    color:white;
}
.navbar .dropdown-menu li{
    padding:10px;
}
.navbar .dropdown-menu li:hover{
    background-color:var(--primary);
} 
.navbar-nav{
    gap:20px;
}
.navbar-brand{
    font-size:3rem;
    font-weight:bold;
}
.nav-item{
    font-size:1rem;
}
.navbar-nav .nav-item a{
    font-size:17px;
}

    /* ====== DROPDOWN ====== */
    .dropdown {
      position: relative;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      background-color: #334155;
      top: 100%;
      left: 0;
      min-width: 150px;
      border-radius: 5px;
      overflow: hidden;
      z-index: 1;
    }

    .dropdown-content a {
      display: block;
      padding: 10px;
      color: white;
      text-decoration: none;
    }

    .dropdown-content a:hover {
      background-color: #475569;
    }

    .dropdown:hover .dropdown-content {
      display: block;
    }

    /* ====== HAMBURGER MENU ====== */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
    }

    .hamburger div {
      width: 25px;
      height: 3px;
      background-color: white;
      border-radius: 5px;
      transition: all 0.3s;
    }

    /* ====== SIDEBAR (untuk mobile) ====== */
    .sidebar {
      position: fixed;
      top: 0;
      left: -100%;
      width: 250px;
      height: 100%;
      background-color: #1e293b;
      padding: 60px 20px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      transition: left 0.3s;
      z-index: 999;
    }

    .sidebar.active {
      left: 0;
    }

    .sidebar a {
      color: white;
      text-decoration: none;
      font-size: 18px;
    }

    .sidebar a:hover {
      color: #38bdf8;
    }

    .close-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 25px;
      cursor: pointer;
      color: white;
    }
    .ekstrakurikuler {
      min-height: 100vh;
      padding-top: 5rem;
       background-image:url(/bg-green.jpg);
  background-repeat: no-repeat;
  background-size:cover;
  background-position: center;
    }

    .container {
      max-width: 1100px;
      margin: 0 auto;
    }

    .ekstra-header {
      text-align: center;
      margin-bottom: 60px;
      padding-top: 3rem;
    }

    .ekstra-header h2 {
      font-family: "Raleway", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
   font-weight:bold;
      font-size:3em;
      font-weight: 700;
      color:var(--mantap);
      margin-bottom: 10px;
    }

    .ekstra-header p {
      color: #6b7280;
      font-size: 16px;
      max-width: 600px;
      margin: 0 auto;
    }

    .ekstra-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
    }

    .ekstra-card {
      background: var(--white);
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 5px 20px var(--shadow);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .ekstra-card:hover {
      transform: translateY(-7px);
      box-shadow: 0 10px 25px rgba(11, 110, 79, 0.2);
    }

    .ekstra-img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .ekstra-content {
      padding: 18px 20px 25px;
    }

    .ekstra-title {
      font-family: "Raleway", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
   font-weight:bold;
      font-size: 20px;
    
      color:black;
      margin-bottom: 8px;
    }

    .ekstra-desc {
      color: #6b7280;
      font-size: 15px;
      margin-bottom: 15px;
    }

    .ekstra-actions {
      display: flex;
      justify-content: space-between;
      gap: 10px;
    }

    .btn-detail, .btn-daftar {
      flex: 1;
      padding: 8px 12px;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .btn-detail {
      border: 2px solid var(--primary);
      background: transparent;
      color: var(--primary);
    }

    .btn-detail:hover {
      background: var(--primary);
      color: var(--white);
    }

    .btn-daftar {
      background: var(--accent);
      color: var(--white);
      border: none;
    }

    .btn-daftar:hover {
      background: #e09617;
    }

    @media (max-width: 600px) {
      .ekstra-header h2 {
        font-size: 26px;
      }
    }
    @media (max-width: 768px) {
   html{
    font-size:80%;
   }
    }
    @media (max-width:986px){
      html{
        font-size: 80%;
      }
    }
